package com.tyson.context.service.impl;

import com.tyson.context.entity.BlType;
import com.tyson.context.mapper.BlTypeMapper;
import com.tyson.context.service.BlTypeService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 帖子类型表 服务实现类
 * </p>
 *
 * @author 沈统顺
 * @since 2021-02-12
 */
@Service
public class BlTypeServiceImpl extends ServiceImpl<BlTypeMapper, BlType> implements BlTypeService {

    @Autowired
    BlTypeMapper blTypeMapper;


    @Override
    public List<BlType> listAll() {
        List<BlType>  typeList = blTypeMapper.listAll();
        return typeList;
    }
}
